package com.shandiangou.crm.model.vo;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 订单的VO类
 */
public class OrderVo {

    @NotNull(message = "结束时间不能为空")
    private Date gmtCreateEnd; //结束时间

    @NotNull(message = "开始时间不能为空")
    private Date gmtCreateStart;//开始时间

    private String orderType;

    private String city;

    @NotNull(message = "时间类型不能为空")
    private String timeType;

    public Date getGmtCreateEnd() {
        return gmtCreateEnd;
    }

    public void setGmtCreateEnd(Date gmtCreateEnd) {
        this.gmtCreateEnd = gmtCreateEnd;
    }

    public Date getGmtCreateStart() {
        return gmtCreateStart;
    }

    public void setGmtCreateStart(Date gmtCreateStart) {
        this.gmtCreateStart = gmtCreateStart;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getTimeType() {
        return timeType;
    }

    public void setTimeType(String timeType) {
        this.timeType = timeType;
    }
}
